<script setup>
  import {ref} from 'vue'
  const count = ref(99)
  const cut = ()=> count.value--
  const add = ()=> count.value++

</script>

<template>
  <div>
    <button @click="cut">-</button>
    <span>{{ count }}</span>
    <button @click="add">+</button>
  </div>
</template>

<style scoped>

</style>
